﻿@model bdxyit.com.RecruitmentAppSys.Models.FamilyInfo

@{
    ViewBag.Title = "查看家庭成员";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
        <div id="NavMessage">
    <ul>
        <li >@Html.ActionLink("个人信息", "Index", "EducationInfo", new { @style = "color: Red;" })</li>
        <li>@Html.ActionLink("教育信息", "Index", "EducationInfo")</li>
        <li>@Html.ActionLink("工作履历", "Index", "EducationInfo")</li>
        <li>@Html.ActionLink("应聘岗位", "Index", "EducationInfo")</li>
        <li>@Html.ActionLink("上传照片", "Index", "EducationInfo")</li>
    </ul>
</div>
    <div id="WorkMessage">
   <fieldset>
        <legend>FamilyInfo</legend>

        @Html.HiddenFor(model => model.ID)

        <div class="editor-label">
            @Html.LabelFor(model => model.FamilyName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FamilyName)
            @Html.ValidationMessageFor(model => model.FamilyName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Relationship)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Relationship)
            @Html.ValidationMessageFor(model => model.Relationship)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Job)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Job)
            @Html.ValidationMessageFor(model => model.Job)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SectorPosts)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SectorPosts)
            @Html.ValidationMessageFor(model => model.SectorPosts)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Address)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Address)
            @Html.ValidationMessageFor(model => model.Address)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.UserID)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.UserID)
            @Html.ValidationMessageFor(model => model.UserID)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
</div>
    
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

